package cn.maxhou.crm.mapper;

import cn.maxhou.crm.model.User;

import java.util.List;

public interface UserMapper2 {
    public void insert(User user);
    public void update(User user);
    public void delete(Long id);
    public User get(Long id);
    public List<User> findAll();
    public User getUserByUserNameWithRoleName(String usrName);
}
